package cn.example.web.module.user;

import cn.example.common.protocol.structs.UserDTO;
import cn.example.web.db.bean.User;
import lombok.Data;

@Data
public class UserVO extends User {
	
	/** 登录签名 */
	private String sign;

	public UserVO() {
	}

	public UserVO(User user) {
		
	}

	public UserDTO toDTO(){
		UserDTO dto = new UserDTO();
		dto.setUid(getId());
		return dto;
	}
}
